package com.ash.event.listener;

import com.ash.event.CustomEvent;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;

public class CustomerListener implements ApplicationListener<CustomEvent> {


    @Override
    public void onApplicationEvent(CustomEvent event) {
        System.out.println("CustomerListener: " + event.getSource());
    }
}
